package com.javasm.crm.service.impl.productimpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.crm.domin.entity.productEntity.GoodsSecond;
import com.javasm.crm.mapper.goodsmapper.GoodsSecondMapper;
import com.javasm.crm.service.productservice.GoodsSecondService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author：zhangyang
 * @Version：1.0
 * @Date：2021/7/15-15:13
 * @desp:
 * @since:
 */
@Service
@Transactional
public class GoodsSecondServiceImpl extends ServiceImpl<GoodsSecondMapper,GoodsSecond> implements GoodsSecondService {
    @Autowired
    GoodsSecondMapper goodsSecondMapper;
    @Override
    public int add(GoodsSecond goodsSecond) {
        return goodsSecondMapper.insert(goodsSecond);
    }
}
